import React, {Component} from 'react';
import {Row, Col} from 'antd';

import '../../style/Registration.css';

import  logo from '../../image/tws-logo-full-new.png';
import RegistrationEditor from './RegistrationEditor'
import LanguageButtons from '../tws-layout/language-buttons'

export default class Registration extends Component {

    render = () => {
        return (
            <div >
                <Row  type='flex' justify='end'>
                <Col>
                    <LanguageButtons/>
                </Col>
                </Row>
                <Row className='registration-logo-row' type='flex' justify='center'>
                    <Col >
                        <img src={logo} alt='tws-logo' className='registration-logo'/>
                    </Col>

                </Row>
                <Row>
                    <Col span={9} offset={7}><RegistrationEditor /></Col>
                </Row>
                {/*<iframe title="logout" src={`${process.env.REACT_APP_SERVER}/logout/cas`} id="iframe-logout"></iframe>*/}

            </div>
        )
    }

}
